Skip to content

feat: add brand example#6

Merged
feanil merged 1 commit into
openedx:mainfrom
brian-smith-tcril:brand
Oct 17, 2025
Merged

feat: add brand example#6
feanil merged 1 commit into
openedx:mainfrom
brian-smith-tcril:brand

Conversation

@brian-smith-tcril

@brian-smith-tcril brian-smith-tcril commented Oct 17, 2025

Copy link
Copy Markdown
Contributor

Modifications from https://github.com/brian-smith-tcril/brand-example-purple

  • Created new directory structure with package.json and Makefile in src instead of top-level
    • This is opposed to my "use multiple branches" strategy that was needed to make npm aliasing work
  • Removed npm aliasing instructions. It had already noted that method as not recommended, and I believe we should be encouraging site operators to utilize other methods that (unlike aliasing) enable runtime theming.

@codecov

codecov Bot commented Oct 17, 2025

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

Comment thread brand/README.md
"light": {
"urls": {
"default": "https://cdn.jsdelivr.net/npm/@openedx/paragon@$paragonVersion/dist/light.min.css",
"brandOverride": "https://cdn.jsdelivr.net/gh/openedx/sample-plugin@main/brand/dist/light.min.css"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I verified this works using

https://cdn.jsdelivr.net/gh/brian-smith-tcril/sample-plugin@brand/brand/dist/light.min.css

which is just replacing the {ORG/USER}/{REPO}/{BRANCH} in openedx/sample-plugin@main with my GH username, and the branch this PR is using.

@feanil feanil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This layout makes sense, I think we can land this as is, and I'll fix the test stuff in a follow-up PR, it's not related to this.

@feanil feanil merged commit 4ce8bad into openedx:main Oct 17, 2025
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants